#pragma once
#include <fstream>

template<typename T> class MyDeleter
{
	size_t m_n;
public:
	MyDeleter(size_t n) :m_n(n) {}
	size_t GetN() const { return m_n; }
	void operator()(T* p) { delete[] p; }
};